<?php
require_once('../config/config.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Création d'un nouveau panneau</title>
        <link href="../css/style_BO.css" rel="stylesheet" type="text/css" />
        <link rel="stylesheet" href="../elrte-1.3/css/smoothness/jquery-ui-1.8.13.custom.css" type="text/css" media="screen" charset="utf-8">
        <link rel="stylesheet" href="../elrte-1.3/css/elrte.min.css"                         type="text/css" media="screen" charset="utf-8">


        <script type="text/javascript" src="../js/jquery-1.7.2.min.js" > </script>
        <script type="text/javascript" src="../js/jquery-ui-1.8.22.custom.min.js" > </script>

        <script src="../elrte-1.3/js/elrte.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="../elrte-1.3/js/i18n/elrte.fr.js" type="text/javascript" charset="utf-8"></script>

        <link rel="stylesheet" type="text/css" media="screen" href="../elfinder-2.0-rc1/css/elfinder.min.css">
        <script type="text/javascript" src="../elfinder-2.0-rc1/js/elfinder.min.js"></script>
        <script type="text/javascript" src="../elfinder-2.0-rc1/js/i18n/elfinder.fr.js"></script>


        <link rel="stylesheet" href="../css/colorpicker/colorpicker.css" type="text/css" />
        <script type="text/javascript" src="../js/colorpicker/colorpicker.js"></script>
        <script type="text/javascript" src="../js/colorpicker/eye.js"></script>
        <script type="text/javascript" src="../js/colorpicker/utils.js"></script>
        <script type="text/javascript">
        $(document).ready(function() {
                
        /**Configuration du colorpicker */
        $('#couleurFondPanneau').ColorPicker({
            onSubmit: function(hsb, hex, rgb, el) {
                $(el).val(hex);
                $(el).ColorPickerHide();
                $('.el-rte .workzone iframe').css('background-color',"#"+$(el).val());
            },
            onBeforeShow: function () {
                $(this).ColorPickerSetColor(this.value);
            }
        }).bind('keyup', function(){
           $(this).ColorPickerSetColor(this.value);
        });
     
});
 </script>
</head>


